import requests
import json
headers = {'Content-Type': 'application/json'}
r = requests.get(url="http://127.0.0.1:8775/scan/b9272f9a3ddeff7b/log",headers=headers)
logs = r.json()['log']
log = ""


print(logs[-1]['message'])